/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package serwer.dane;

import java.security.PrivateKey;
import java.util.Objects;

/**
 *
 * @author mikolaj
 */
public class DaneSesji {
    private final PrivateKey priv;
    private byte[] klucz;
    
    public DaneSesji(byte[] b,PrivateKey p){
        klucz=b;
        priv=p;
    }
    
    public void zmienKlucz(byte[] b){
        klucz=b;
    }
    
    
    public byte[] getKlucz(){
        return klucz;
    }
    
     public PrivateKey getPriv(){
        return priv;
    }
}
